{% extends 'base.html' %}

{% block title %}
编辑你的账号
{% endblock %}

{% block content %}
    {#上传文件时需要添加 enctype="multipart/form-data"#}
    <div class="login-form">
        <form action="." method="post" enctype="multipart/form-data" novalidate>
            {{ user_form.as_p }}
            {{ profile_form.as_p }}
            {% csrf_token %}
            <p><input type="submit" value="保存"></p>
        </form>
    </div>

{% endblock %}